/* 头部 */
header {
  height: 100px;
  display: flex;
  justify-content: flex-start;

  h1 {
    flex: 0 0 482px;
    margin-right: 25px;
    background-color: #f6d965;

    a {
      display: block;
      width: 100%;

      img {
        display: block;
        width: 187px;
        margin: 15px auto;
        line-height: 100px;
      }
    }
  }

  .tab-nav {
    flex: 0 0 907px;
    display: flex;
    justify-content: space-between;
    background-color: #fff;

    li {
      flex: 1;
      height: 100%;
      cursor: pointer;

      > a {
        height: 100%;
        line-height: 100px;
        text-align: center;
        font-size: 18px;
        color: #45575e !important;
      }

      .layui-nav-more {
        display: none;
      }

      .layui-nav-child {
        top: 100px;
      }

      .layui-nav-child {
        background-color: #ca151d;
        border: none;

        dd {
          a {
            color: #fff !important;
            text-align: center;
            border-bottom: 1px solid #a31f24;
            font-size: 18px;

            &:hover {
              background-color: #a31f24;
              color: #fff !important;
            }
          }
        }
      }
    }

    .layui-this {
      a {
        color: #d00101 !important;
      }

      &::after {
        background-color: #920101;
      }
    }

    .layui-nav .layui-this:after, .layui-nav-bar, .layui-nav-tree .layui-nav-itemed:after {
      background-color: #a31f24;
    }
  }

  .phone {
    height: 100%;
    line-height: 100px;
    display: flex;
    padding-top: 35px;

    img {
      display: block;
      flex: 0 0 40px;
      height: 40px;
      vertical-align: middle;
      margin-right: 16px;
    }

    p {
      i {
        display: block;
        line-height: 1.3em;
        color: #161b1d;
        font-size: 18px;
      }
    }
  }
}

/* 面包屑 */
.bread {
  background-color: #f6f6f6;
  height: 40px;

  > div {
    line-height: 40px;

    a {
      font-size: 16px;
      color: #4f646a;

      i {
        margin-right: 7px;
      }

      &:hover {
        color: #333;
      }
    }

    span {
      color: #4f646a;
    }
  }
}

/* 表单 */
.form-box {
  //margin-top: 500px;
  height: 245px;
  background: url("../images/index/form_bg.png") no-repeat center center;
  -moz-background-size: cover;
  padding-top: 26px;

  h2 {
    height: 42px;
    background: url("../images/index/form_title.png") no-repeat center center;
    background-size: contain;
  }

  > div {
    height: 100%;
    padding-left: 40px;
    /* 二维码 */

    .qrcode {
      display: block;
      width: 107px;
      margin-top: 36px;
      margin-right: 20px;
    }

    /* 表单 */

    .mb-form {
      margin-top: 36px;
      width: 715px;
      display: flex;
      justify-content: space-between;

      input,
      textarea {
        width: 290px;
        background-color: #e7e5e4;
      }

      input {
        height: 40px;
        //border: none;
        &:nth-of-type(2) {
          margin-top: 25px;
        }
      }

      textarea {
        display: block;
        min-height: 105px;
        max-height: 105px;
      }

      button {
        border: none;
        width: 87px;
        height: 83px;
        margin-top: 12px;
        background: url("../images/index/form_btn.png") no-repeat center center;
        background-size: cover;
        cursor: pointer;
      }
    }

    .form-logo {
      margin-right: 56px;
      transform: translateY(-50px);
    }
  }
}

/* 底部 */
footer {
  height: 269px;
  background-color: #19191a;

  .footer-top {
    /* 防止元素塌陷 */
    border-top: 1px solid #19191a;

    > div {
      display: flex;
      justify-content: space-between;

      .footer-logo {
        flex: 0 0 186px;
        margin-top: 17px;

        img {
          display: block;
          width: 100%;
        }
      }

      .footer-nav {
        flex: 1;
        display: flex;
        justify-content: space-between;

        li {
          flex: 1;
          display: flex;
          justify-content: center;

          a {
            flex: 1;
            display: block;
            height: 100%;
            line-height: 100px;
            color: #a3b6ba;
            text-align: center;

            &.f-active {
              color: #fff;
            }

            &:hover {
              color: #fff;
            }
          }
        }
      }

      .footer-phone {
        flex: 0 0 190px;
        height: 100%;
        line-height: 100px;
        display: flex;
        padding-top: 35px;

        img {
          display: block;
          flex: 0 0 40px;
          height: 40px;
          vertical-align: middle;
          margin-right: 16px;
        }

        p {
          i {
            display: block;
            line-height: 1.3em;
            font-size: 18px;
            color: #fff;
          }
        }

      }
    }
  }

  hr {
    margin-top: 11px;
    margin-bottom: 39px;
    border: none;
    height: 1px;
    background: #474747;
  }

  .footer-bottom {
    > div {

      p {
        flex: 1;
        color: #a3b6ba;
        font-size: 16px;
      }

      ul {
        width: 700px;

        li {
          float: left;
          color: #a3b6ba;
          margin-right: 10px;
          margin-bottom: 10px;

          a {
            color: #a3b6ba;

            &:hover {
              color: #fff;
            }
          }
        }
      }
    }
  }

}
